package com.zhiche.lisa.tms.dao.model.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.util.Date;

/**
 * 根据装车单 id 做运抵 BO
 */
public class ShipToByLicenseBO {


    /**
     * 装车单 id
     */
    @JsonSerialize(using=ToStringSerializer.class)
    private Long shipmentId;

    /**
     * 装车单code
     */
    private String shipmentCode;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 详细地址
     */
    private String location;

    /**
     * 经度
     */
    private Double dcx;

    /**
     * 纬度
     */
    private Double dcy;

    /**
     * 运输任务code
     */
    private String shipTaskCode;

    /**
     * 运抵时间
     */
    private Date gmtFinish;

    public Date getGmtFinish() {
        return gmtFinish;
    }

    public void setGmtFinish(Date gmtFinish) {
        this.gmtFinish = gmtFinish;
    }

    public Long getShipmentId() {
        return shipmentId;
    }

    public void setShipmentId(Long shipmentId) {
        this.shipmentId = shipmentId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Double getDcx() {
        return dcx;
    }

    public void setDcx(Double dcx) {
        this.dcx = dcx;
    }

    public Double getDcy() {
        return dcy;
    }

    public void setDcy(Double dcy) {
        this.dcy = dcy;
    }

    public String getShipTaskCode() {
        return shipTaskCode;
    }

    public void setShipTaskCode(String shipTaskCode) {
        this.shipTaskCode = shipTaskCode;
    }

    public String getShipmentCode() {
        return shipmentCode;
    }

    public void setShipmentCode(String shipmentCode) {
        this.shipmentCode = shipmentCode;
    }

    @Override
    public String toString() {
        return "ShipToByLicenseBO{" +
                "shipmentId=" + shipmentId +
                ", shipmentCode='" + shipmentCode + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", location='" + location + '\'' +
                ", dcx=" + dcx +
                ", dcy=" + dcy +
                ", shipTaskCode='" + shipTaskCode + '\'' +
                '}';
    }
}
